import router from '@system.router';

export default {

    data: {
        descriptionFirstParagraph:'右上方进行拍照识别，分级诊疗。\n下方是一下关于黑色素瘤的知识。',
        //不能大写
        imageList: ['/common/images/p11.png', '/common/images/p12.png', '/common/images/p13.png', '/common/images/p14.png', '/common/images/p15.png'],
        scrollAmount: 5,
        loop: -1,
        marqueeDir: 'left',
        marqueeCustomData: '右上方进行拍照识别，进行分级诊疗。\n下方是一下关于黑色素瘤的知识。',
        fresh:false,
    },

    actions: {
        routerEvent: {
            action: router,
            abilityName: 'com.example.tumorrecognitionassistant.widget.WidgetAbility',
            params: {
                message: 'button'
            }
        }
    },

    //输入框内容改变时执行
    searchChange(e){
        //将输入框中的值赋给变量 id
        this.id = e.value;
    },
    closeSecond(e) {
        this.second = false;
    }
}